package com.lplb.api.admin.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lplb.common.core.model.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 资源表
 * </p>
 *
 * @author ws
 * @date 2020-07-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_admin_auth")
@ApiModel(value="AdminAuth对象", description="资源表")
public class AdminAuth extends BaseEntity{

    private static final long serialVersionUID = 1L;
   /**
    * 归属于(类描叙)
    */
    private String pid;
   /**
    * 请求方式(GET/POST/PUT/DELETE)
    */
    private String method;
   /**
    * 资源url
    */
    private String url;
    /**
     * 服务名
     */
    private String serverName;
   /**
    * 资源描叙(接口描叙)
    */
    @TableField("`desc`")
    private String desc;
}
